Intersoft.Client.Framework.Input Namespace > DelegateCommand<T> Class > DelegateCommand<T> Constructor : DelegateCommand<T> Constructor(Action<T>,Func<T,Boolean>) |
Public Function New( _ ByVal executeMethod As Action(Of T), _ ByVal canExecuteMethod As Func(Of T,Boolean) _ )
Dim executeMethod As Action(Of T) Dim canExecuteMethod As Func(Of T,Boolean) Dim instance As New DelegateCommand(Of T)(executeMethod, canExecuteMethod)
public DelegateCommand<T>( Action<T> executeMethod, Func<T,bool> canExecuteMethod )
public: DelegateCommand<T>( Action<T^>^ executeMethod, Func<T^,bool>^ canExecuteMethod )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2